/**
 * 
 */
package assembly;

import java.awt.Point;
import assembly.Mass;
import util.Vector;


/**
 * @author Dagbedji Fagnisse
 * @author Scott Valentine
 * 
 */
public class HeavyMass extends Mass {

    /**
     * @param x x-position of the mass
     * @param y y-position of the mass
     * @param mass value of the mass
     */
    protected HeavyMass (double x, double y, double mass) {
        super(x, y, -mass);
    }
    
    public HeavyMass(double x, double y, double mass, Assembly a) {
        super(x, y, -mass, a);
    }

    /**
     * creates heavy mass based on position and mass
     * @param id of the mass, used for creating springs and muscles
     * @param x coordinate of this position
     * @param y coordinate of this position
     * @param mass relative mass of this. used for calculating center of mass
     */
    public HeavyMass(int id, double x, double y, double mass) {
        super(x, y, -mass); //to be edited to much supertype
    }

    public HeavyMass (Point p, int i) {
        super(p, i);
    }

    /**
     * Use the given force to change this mass's acceleration.
     * Heavy masses do not move regardless of the force applied.
     * 
     * @param force the force to be applied.
     */
    @Override
    public void applyForce (Vector force) {
        // myAcceleration.sum(force);
    }

}
